{% comment -%}
  For each page in `include.collection` (recursively), print:
    [URL]<ENDURL>[TITLE]<ENDTITLE>
{% endcomment -%}
{% for entry in include.collection -%}
  {% if entry.url and entry.skip_next_prev != true -%}
    {{entry.url}}<ENDURL>{{entry.title}}<ENDTITLE>
  {%- endif -%}
  {% if entry.children -%}
    {% include pagination-parse.liquid collection=entry.children -%}
  {% endif -%}
{% endfor -%}
